﻿#region Copyright
//————————————————————————————————————————//
//	创建人员(Creator)    ：Huangyd
//	创建日期(Date)       ：2012-07-14
//  联系方式(Email)      ：aj-ayumi@163.com; gajayumi@gmail.com; ajayumi@me.com
//  描    述(Description)：
//
//	Copyright (C) 2012 ajayumi 版权所有
//————————————————————————————————————————//
#endregion
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
using System.Drawing;

namespace  ajayumi.develop.CSharp.Controls.Forms
{
    public class CaptionRenderEventArgs : PaintEventArgs
    {
        private FormBase m_Form;
        private bool m_Active;

        public CaptionRenderEventArgs(
            FormBase form,
            Graphics g,
            Rectangle clipRect,
            bool active)
            : base(g, clipRect)
        {
            m_Form = form;
            m_Active = active;
        }

        public FormBase Form
        {
            get { return m_Form; }
        }

        public bool Active
        {
            get { return m_Active; }
        }
    }
}
